import {quickPost} from "../util/common.ts";

const GEN_INVITE_CODE_API = "/api/admin/genInviteCode"

const genInviteCodeRequest = async () => {
    return await quickPost(GEN_INVITE_CODE_API);
}

const GET_INVITE_CODE_API = "/api/admin/getInviteCode"

const getInviteCodeRequest = async () => {
    return await quickPost(GET_INVITE_CODE_API);
}

export {
    genInviteCodeRequest,
    getInviteCodeRequest
}
